// 导入自己封装的axios实例对象
import request from '@/utiles/request'

// 获取搜索建议
export const getSuggestionDate = params => {
    return request({
        url: '/v1_0/suggestion',
        params
    })
}

// 获取搜索结果
export const getSearchResult = params => {
    return request({
        url: '/v1_0/search',
        params
    })
}